using Avalonia;
using Avalonia.Controls;
using Avalonia.Markup.Xaml;

using Avalonia.Controls.Primitives;
using Avalonia.Threading;
using System;
using System.Threading.Tasks;
namespace 畜牧业审核程序国产;

public partial class OnLoading : Window
{
    public OnLoading()
    {
        InitializeComponent();
    }
    //public async void ShowProgress()
    //{
    //    while (true)
    //    {
    //        // 在UI线程上更新进度条
    //        await Dispatcher.UIThread.InvokeAsync(async () =>
    //       {

    //           myProgressText2.Text = $"加载中";
    //           myProgressBarControl2.Value = DateTime.Now.Second % 10;
    //       });
    //        // 等待100毫秒再进行下一次检查
    //        await Task.Delay(100);

    //    }
    //}
}